#include <Windows.h>
#include <CRTDBG.h>
#include "testComm.h"

int time_taken_api(struct sort_test_t *sort_info)
{
    sort_func_tested func = nullptr;
    ull_time t;
    func = sort_info->f;
    if(sort_info->repeat <= 1)
    {
        t = GetTickCount64();
        func(sort_info->func_param1, sort_info->func_param2);
        t = GetTickCount64() - t;

        sort_info->elapsed = t;
    }
    else
    {
        /**/
    }
    return 0;
}
